
const routes = [
  {
    path: '/',
    redirect: "/lottery",
  },
  // {
  //   path: '/',
  //   name: 'main',
  //   component: () => import('../views/main/index.vue'),
  //   redirect: "/home",
  //   children: [
  //     {
  //       path: '/home',
  //       component: () => import('../views/home/index.vue'),
  //       meta: {
  //         requireAuth: true,
  //       },
  //     },
  //     {
  //       path: '/market',
  //       component: () => import('../views/market/index.vue'),
  //       meta: {
  //         requireAuth: true,
  //       },
  //     },
  //     {
  //       path: '/team',
  //       component: () => import('../views/team/index.vue'),
  //       meta: {
  //         requireAuth: true,
  //       },
  //     },
  //     {
  //       path: '/my',
  //       component: () => import('../views/my/index.vue'),
  //       meta: {
  //         requireAuth: true,
  //       },
  //     }
  //   ]
  // },
  {
    path: '/404',
    name: '404',
    component: () => import('../views/404/index.vue'),
    meta: {
      requireAuth: false,
    },
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('../views/login/index.vue'),
    meta: {
      requireAuth: false,
    },
  },
  {
    path: '/resigter',
    name: 'resigter',
    component: () => import('../views/resigter/index.vue'),
    meta: {
      requireAuth: false,
    },
  },
  {
    path: '/forpass',
    name: 'forpass',
    component: () => import('../views/forpass/index.vue'),
    meta: {
      requireAuth: false,
    },
  },
  {
    path: '/download',
    name: 'download',
    component: () => import('../views/download/index.js'),
    meta: {
      requireAuth: false,
    },
  },
  {
    path: '/lottery',
    name: 'lottery',
    component: () => import('../views/lottery/index.vue'),
    meta: {
      requireAuth: false,
    },
  },
]

export default routes
